* syntax.c (Fskip_syntax_backward): Doc clarification.
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 8 Feb 2014 05:12:47 +0000 (21:12 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 8 Feb 2014 05:12:47 +0000 (21:12 -0800)
src/ChangeLog
src/syntax.c

index 709e837bfd317991bd32d71e154ddcfbad55b0a4..e58e76d10b290b24a26c69622a0845469329f6cc 100644 (file)
@@ -1,5 +1,7 @@
 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * syntax.c (Fskip_syntax_backward): Doc clarification (bug#15115).
+
        * minibuf.c (Fread_string): Doc clarification (bug#15422).
 
        * buffer.c (Fmake_overlay): Doc clarification (bug#15489).
index 12575bfa3f7881d1f91b6bc231cedc08e901a0e2..f2451332b195f0452a567ddd10f75082f9fbe84b 100644 (file)
@@ -1532,7 +1532,8 @@ DEFUN ("skip-syntax-backward", Fskip_syntax_backward, Sskip_syntax_backward, 1,
 SYNTAX is a string of syntax code characters.
 Stop on reaching a char whose syntax is not in SYNTAX, or at position LIM.
 If SYNTAX starts with ^, skip characters whose syntax is NOT in SYNTAX.
-This function returns the distance traveled, either zero or negative.  */)
+This function returns either zero or a negative number, and the absolute value
+of this is the distance traveled.  */)
   (Lisp_Object syntax, Lisp_Object lim)
 {
   return skip_syntaxes (0, syntax, lim);